package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 系统日志表
 * </p>
 *
 * @author WEN
 * @since 2023-07-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjSystemLog对象", description="系统日志表")
public class ZjSystemLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "人员类型：1-PC端，2-客户报单移动端，3-服务商移动端，4-出入库移动端")
    private Integer empType;

    @ApiModelProperty(value = "操作账号")
    private String account;

    @ApiModelProperty(value = "操作人名称")
    private String name;

    @ApiModelProperty(value = "操作IP")
    private String ip;

    @ApiModelProperty(value = "浏览器录设备")
    private String browserDevice;

    @ApiModelProperty(value = "模块类型")
    private Integer moduleType;

    @ApiModelProperty(value = "操作类型：1-新增，2-删除，3-修改")
    private Integer type;

    @ApiModelProperty(value = "请求路径")
    private String path;

    @ApiModelProperty(value = "是否成功：0-否，1-是")
    private Boolean success;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;


}
